//
//  DetailedViewController.h
//  CarHome
//
//  Created by 王建男 on 14-9-22.
//  Copyright (c) 2014年 WJN_work@163.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DealerDetailModel.h"
#import "DownButton.h"

@interface DetailedViewController : UIViewController<UIScrollViewDelegate, UITableViewDataSource, UITableViewDelegate>
{
    UIView *_down; //界面一 详情
    UIView *_picture; //界面二 图片
    UIView *_equipment; //界面三 配置
    UIView *_praise; //界面四 评分
    
    UITableView *_tableView; //详情tableview
    NSMutableArray *_tableViewArray; //详情数组
    
    UITableView *_pictureView; //图片tableview
    NSMutableArray *_pictureArray; //图片数组
    
    UITableView *_equipMentView; //配置tableview
    NSMutableArray *_equipMentArray; //配置数组
    
    UITableView *_praiseView; //评分tableview
    NSMutableArray *_praiseArray; //评分数组
    UILabel *_praiseLabel_per; //评分 -- 参与人数
    UILabel *_praiseLabel_prt; //评分 -- 耗油量
    
    UIImageView *_image;
    UILabel *_titleLabel;
    NSString *_top_title;  //顶部标题
    DealerDetailModel *_moDel;  //汽车属性model
    
    
    UIScrollView *_scroll;
    DownButton *_downButtn;
    UIButton *_rightButton;
    NSString *_piece;        //价格
    UILabel *_label;
    NSString *_cityName;  //城市名称
}

@property (nonatomic, strong)UIView *ImageView;  //首页可放大image
@property (nonatomic, retain) NSMutableString *urlStr;  //汽车详情网址
//分页网址
@property (nonatomic, retain)NSMutableString *pictureUrl;
@property (nonatomic, retain)NSMutableString *equipMentUrl;
@property (nonatomic, retain)NSMutableString *praiseUrl;

///  id传值方法
- (void)setConnect:(NSString *)carId AndSpe:(NSString *)specitem Andtitle:(NSString *)title;

@end
